Skip to content

Fix values sanitizer handling queries with keys that contain dots#3040

Open
imamatory wants to merge 3 commits intoopen-telemetry:mainfrom
imamatory:fix/values-sanitizer
Open

Fix values sanitizer handling queries with keys that contain dots#3040
imamatory wants to merge 3 commits intoopen-telemetry:mainfrom
imamatory:fix/values-sanitizer

Conversation

@imamatory
Copy link

@imamatory imamatory commented Nov 22, 2024

Description

Fixes query sanitizer so that it doesn't mutate the original query object and properly handles dict keys containing dots.

Fixes #3034

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Test that query that contains keys having same name but one of them contains dot in it (e.g. name and name.morph) sanitized correctly

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 22, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@github-actions
Copy link

This PR has been automatically marked as stale because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 days of this comment.
If you're still working on this, please add a comment or push new commits.

@github-actions github-actions bot added the Stale label Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Ready for review

Development

Successfully merging this pull request may close these issues.

Elasticsearch instrumentalization incorectly serializes object containing dots in field name

1 participant